package com.wms.web.action.user;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.ExceptionMapping;
import org.apache.struts2.convention.annotation.ExceptionMappings;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;

import com.wms.web.action.AbstractAction;

@ParentPackage("wms")
@Namespace("/app")
@Result(name="exception", location="/WEB-INF/jsp/common/error.jsp")
@ExceptionMappings(@ExceptionMapping(exception="java.lang.Exception", result="exception"))
public class UserListAction extends AbstractAction {

	private static final long serialVersionUID = 1L;

	/**
	 * init Login.
	 *
	 * <pre>
	 * 	init Login
	 * </pre>
	 *
	 * @return String
	 */
	@Action(value="userList", results={@Result(name="success", location="/WEB-INF/jsp/user/user_list.jsp")})
	public String initList() {
		
		return SUCCESS;
	}
}